﻿// Fill out your copyright notice in the Description page of Project Settings.


#include "Actor/AudioActor.h"

#include "Components/AudioComponent.h"


// Sets default values
AAudioActor::AAudioActor()
{
	// Set this actor to call Tick() every frame.  You can turn this off to improve performance if you don't need it.
	PrimaryActorTick.bCanEverTick = true;

	AudioComponent = CreateDefaultSubobject<UAudioComponent>("AudioComponent");
	RootComponent = SceneComponent;
	AudioComponent->SetupAttachment(RootComponent);
}

// Called when the game starts or when spawned
void AAudioActor::BeginPlay()
{
	Super::BeginPlay();
}

// Called every frame
void AAudioActor::Tick(float DeltaTime)
{
	Super::Tick(DeltaTime);
}
